a = eval(input("输入被除数"))
b = eval(input("输入除数"))
c = a/b
try:
    isinstance(a,int) #判断是否为整数
    print(c)
except ZeroDivisionError:
    print("被除数不能为0")
# except:
#     print("输入错误，请输入一个整数")
c = a/b
print(c)
